package com.hightrast.service.api.domain.qo.rastUser;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel(value="用户登陆请求")
public class LoginQo {

    @ApiModelProperty(value = "账号")
    @NotEmpty(message = "Please enter your account")
    private String account;

    @ApiModelProperty(value = "密码")
    @NotEmpty(message = "Please input a password")
    private String password;

    @ApiModelProperty(value = "记住我,1-记住，2-不记住，默认为2")
    private Integer rememberMe = 2;
}
